package com.runvp.common.enums;

/**
 * 在线状态(on_line:在线,off_line:离线)
 */
public enum LineStatus implements BaseEnumInterface{
    ON_LINE("on_line", "在线"),
    OFF_LINE("off_line", "离线");

    private String code;    //类型
    private String desc;    //描述
    private String defaulted;

    @Override
    public String getDefaulted() {
        return defaulted;
    }


    LineStatus(String code, String desc, String defaulted) {
        this.code = code;
        this.desc = desc;
        this.defaulted = defaulted;
    }

    private LineStatus(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }
    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
